home *** CD-ROM | disk | FTP | other *** search
- #!/bin/python
-
- """
- ToolWaypathPostAnalysis.py
-
- David Janes
- BlogMatrix
- 2004.02.12
- """
-
- import sys
- import urllib
- import Tool
-
- class ToolWaypathPostAnalysis(Tool.ToolInterface):
- """
- The interface for your tool. Simply create an instance of this object and Jaeger
- will figure it out.
- """
- def __init__(self):
- Tool.ToolInterface.__init__(self)
-
- def get_label(self, selected):
- return "Waypath Post Analysis"
-
- def invoke(self, selected, operations):
- operations.open_url("http://www.waypath.com/query?type=url&key=" + \
- urllib.quote(selected.url))
- #
- # creating it will register it
- #
- ToolWaypathPostAnalysis()
-